Problem Note 50690: "XLSX file does not exist" errors occur when reading an XLSX file that has the same name as the directory
When you import XLSX files using the IMPORT procedure with DBMS=XLSX in SAS® 9.3, you might receive the following error:
proc import datafile="J:\users\competence\competence.xlsx" out=sasdata dbms=xlsx replace; sheet='mystuff'; run; ERROR: XLSX file does not exist -> J:\users\competence\competence.xlsx
The problem occurs because the name of the Excel .xlsx workbook is the same as the directory in which it resides. To circumvent the problem, rename the workbook file using a different name.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | 64-bit Enabled AIX | 9.3 TS1M0 | 9.4 TS1M0 |
Windows Vista for x64 | 9.3 TS1M0 | |
Windows Vista | 9.3 TS1M0 | |
Windows 7 Ultimate x64 | 9.3 TS1M0 | |
Windows 7 Ultimate 32 bit | 9.3 TS1M0 | |
Windows 7 Professional x64 | 9.3 TS1M0 | 9.4 TS1M0 |
Windows 7 Professional 32 bit | 9.3 TS1M0 | |
Windows 7 Home Premium x64 | 9.3 TS1M0 | |
Windows 7 Home Premium 32 bit | 9.3 TS1M0 | |
Windows 7 Enterprise x64 | 9.3 TS1M0 | 9.4 TS1M0 |
Windows 7 Enterprise 32 bit | 9.3 TS1M0 | |
Microsoft Windows XP Professional | 9.3 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2008 R2 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2008 | 9.3 TS1M0 | |
Microsoft Windows Server 2003 for x64 | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M0 | |
Microsoft® Windows® for x64 | 9.3 TS1M0 | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.3 TS1M0 | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.3 TS1M0 | 9.4 TS1M0 |
HP-UX IPF | 9.3 TS1M0 | 9.4 TS1M0 |
Linux | 9.3 TS1M0 | 9.4 TS1M0 |
Linux for x64 | 9.3 TS1M0 | 9.4 TS1M0 |
Solaris for x64 | 9.3 TS1M0 | 9.4 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
When reading XLSX files using PROC IMPORT with DBMS=XLSX, you might receive "File does not Exist" errors if the filename has the same name as the directory.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2013-08-26 12:32:32 |
Date Created: | 2013-08-08 10:09:30 |